package com.glance.browser.dao;

import java.util.List;

import com.glance.browser.domain.Author;
import com.glance.browser.domain.KnowledgeItem;

public interface AuthorDAO {

	List<KnowledgeItem> findKnowledgeItemsById(Long id);

	List<KnowledgeItem> findKnowledgeItemsByFirstAndLastName(String user, String pass);

	Author findByName(String firstName, String lastName);

	Author save(Author author);

	void delete(Author author);
}
